package hcn.protocol.registration.xml.resp;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @Author: lanyu
 * @Description:
 * @Date: create in 2023/2/23 17:25
 */
@XmlRootElement(name = "Data")
public class ExamDivisionCodeAppXmlResp {
    private String SampleCollectAreaId;//预约队列代码
    private String SampleCollectAreaName;
    private List<ExamDivisionCodeResp> datelists;

    @XmlElement(name = "SampleCollectAreaId")
    public String getSampleCollectAreaId() {
        return SampleCollectAreaId;
    }

    public void setSampleCollectAreaId(String sampleCollectAreaId) {
        SampleCollectAreaId = sampleCollectAreaId;
    }

    @XmlElement(name = "SampleCollectAreaName")
    public String getSampleCollectAreaName() {
        return SampleCollectAreaName;
    }

    public void setSampleCollectAreaName(String sampleCollectAreaName) {
        SampleCollectAreaName = sampleCollectAreaName;
    }

    @XmlElementWrapper(name = "Datelists")
    @XmlElement(name = "Datelist")
    public List<ExamDivisionCodeResp> getDatelists() {
        return datelists;
    }

    public void setDatelists(List<ExamDivisionCodeResp> datelists) {
        this.datelists = datelists;
    }

    @XmlRootElement(name = "Datelist")
    public static class ExamDivisionCodeResp{
        private String AppointsVisitTime;
        private String EffectiveTimeLow;
        private String EffectiveTimeHigh;
        private Integer TotalCount;
        private Integer RemainCount;
        private String AppointsVisitDateTime;
        private String AppointmentDate;

        @XmlElement(name = "AppointsVisitTime")
        public String getAppointsVisitTime() {
            return AppointsVisitTime;
        }

        public void setAppointsVisitTime(String appointsVisitTime) {
            AppointsVisitTime = appointsVisitTime;
        }

        @XmlElement(name = "EffectiveTimeLow")
        public String getEffectiveTimeLow() {
            return EffectiveTimeLow;
        }

        public void setEffectiveTimeLow(String effectiveTimeLow) {
            EffectiveTimeLow = effectiveTimeLow;
        }

        @XmlElement(name = "EffectiveTimeHigh")
        public String getEffectiveTimeHigh() {
            return EffectiveTimeHigh;
        }

        public void setEffectiveTimeHigh(String effectiveTimeHigh) {
            EffectiveTimeHigh = effectiveTimeHigh;
        }

        @XmlElement(name = "TotalCount")
        public Integer getTotalCount() {
            return TotalCount;
        }

        public void setTotalCount(Integer totalCount) {
            TotalCount = totalCount;
        }

        @XmlElement(name = "RemainCount")
        public Integer getRemainCount() {
            return RemainCount;
        }

        public void setRemainCount(Integer remainCount) {
            RemainCount = remainCount;
        }

        @XmlElement(name = "AppointsVisitDateTime")
        public String getAppointsVisitDateTime() {
            return AppointsVisitDateTime;
        }

        public void setAppointsVisitDateTime(String appointsVisitDateTime) {
            AppointsVisitDateTime = appointsVisitDateTime;
        }

        @XmlElement(name = "AppointmentDate")
        public String getAppointmentDate() {
            return AppointmentDate;
        }

        public void setAppointmentDate(String appointmentDate) {
            AppointmentDate = appointmentDate;
        }
    }
}
